package com.alibaba.incubator.loadtestermini.model.measurement.report;

/**
 * (created at 2010-5-27)
 * 
 * @author <a href="mailto:shuo.qius@alibaba-inc.com">QIU Shuo</a>
 */
public class InteractionResult {
    private final long startTime;
    private final long endTime;
    private final boolean success;

    public InteractionResult(long startTime, long endTime, boolean success) {
        super();
        this.startTime = startTime;
        this.endTime = endTime;
        this.success = success;
    }

    public boolean isSuccess() {
        return success;
    }

    public long getStartTime() {
        return startTime;
    }

    public long getEndTime() {
        return endTime;
    }
}
